package com.caiheng.api.entity.estate;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 工资条对象 pay_slip
 *
 * @author ruoyi
 * @date 2025-03-24
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("pay_slip")
public class PaySlip implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * id
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    private Integer wxUserId;

    private Long sysUserId;

    private Integer yearNum;
    private Integer monthNum;


    /**
     * 真实姓名
     */
    private String realName;

    /**
     * 电话号码
     */
    private String phoneNum;

    /**
     * 所属工种
     */
    private String workType;

    /**
     * 基本工资
     */
    private BigDecimal basicSalary;

    /**
     * 绩效工资
     */
    private BigDecimal meritsSalary;

    /**
     * 其他补贴
     */
    private BigDecimal otherSubsidies;

    /**
     * 社保补贴
     */
    private BigDecimal insuranceSubsidy;

    /**
     * 加班费用
     */
    private BigDecimal overtimeSalary;

    /**
     * 夜班工资
     */
    private BigDecimal nightShiftSalary;

    /**
     * 证书补助
     */
    private BigDecimal certificateSubsidy;

    /**
     * 出勤天数
     */
    private BigDecimal attendance;

    /**
     * 事假天数
     */
    private BigDecimal absence;

    /**
     * 事假扣款
     */
    private BigDecimal absenceDeduction;

    /**
     * 个人保险
     */
    private BigDecimal insurance;

    /**
     * 个税扣款
     */
    private BigDecimal tax;

    /**
     * 其他扣款
     */
    private BigDecimal otherDeduction;

    /**
     * 工装扣款
     */
    private BigDecimal clothesDeduction;

    /**
     * 累计扣款
     */
    private BigDecimal totalDeduction;

    /**
     * 实发工资
     */
    private BigDecimal netSalary;

	/**
	 * 状态 0-未确认  1-已确认  2-取消确认
	 */
	private Integer state;

    /**
     *  签字时间
     */
    private Date signTime;

    /**
     *  签字文件图片地址
     */
    private String signImgUrl;

}
